What is a riff in music?

A riff in music is a short, catchy musical phrase that is repeated throughout a song. Riffs are typically played on a guitar or other instrument and serve as a foundational element of the song's melody and rhythm. They are often used to create hooks that grab the listener's attention and help drive the song forward. Riffs can be simple or complex, but they are always memorable and distinctive, adding texture and flavor to the overall sound of the music. Some famous examples of songs with iconic riffs include "Smoke on the Water" by Deep Purple, "Satisfaction" by The Rolling Stones, and "Sweet Child o' Mine" by Guns N' Roses.